//
//  AppConfigs.swift
//  Trill
//
//  Created by 顾钱想 on 2019/11/9.
//  Copyright © 2019 顾钱想. All rights reserved.
//

import UIKit
struct Configs {

    struct Network {
        static let RootUrl = "https://api.gotokeep.com"
    }

    struct Dimensions {
        static let screenWidth: CGFloat = UIScreen.main.bounds.size.width
        static let screenHeight: CGFloat = UIScreen.main.bounds.size.height
    }

    struct Time {
        static let imageTransition: TimeInterval = 1.0
        /// 图片缓存时间 (1 周)
        static let maxImageCache: TimeInterval = 60 * 60 * 24 * 7
        /// 图片加载超时时间
        static let imageDownloadTimeout: TimeInterval = 15
        /// 网络请求超时时间
        static let netWorkTimeout: TimeInterval = 15
    }
}


